<%--
  Created by IntelliJ IDEA.
  User: Root404
  Date: 2022/7/4
  Time: 15:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table border="4">
    <tr>
        <th>id</th>
        <th>name</th>
        <th>sex</th>
        <th>hobby</th>
    </tr>
    <c:forEach items="${list}" var="xjj">
    <tr>
        <td>${xjj.id}</td>
        <td>${xjj.name}</td>
        <td>${xjj.sex}</td>
        <td>${xjj.hobby}</td>
    </tr>
    </c:forEach>
</table>

</body>
</html>
